package com.study01;

public class Son extends Father {
    int num = 5;
    @Override
    public void showName() {
        System.out.println("我的名字是刘龙");
    }

    @Override
    public void showHouse() {
        System.out.println("我有" + this.num + "套房");
    }

    public void drink(){
        System.out.println("我喜欢喝酒");
    }
}
